<template>
    <div>
        <Editor ref="editorRef" v-model="htmlStr" />
        <div class="prose bg-white p-4" v-html="htmlStr"></div>
    </div>
</template>

<script setup lang="ts">
import Editor from "@/components/editor/index.vue";

const editorRef = ref<InstanceType<typeof Editor> | null>(null);
const htmlStr = ref("");
// editorRef.value?.cleanupUnusedFile();

</script>

<style scoped lang="scss"></style>
